package com.tansun.easycare.rule.referencedata.entity;

import com.tansun.easycare.rule.common.entity.RuleBaseEntity;
import com.tansun.easycare.rule.rulemange.entity.RuleManage;

public class RefFuncParam extends RuleBaseEntity<RefFuncParam> {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String code;        // 规则模型编号
	private String manageId; 	// 
    private String modelName;   // 模型名称
    private String modelType;   // 规则模型类型
    private String projectCode; // 规则库编码
    private String version;     // 规则模型版本号
    private String funcparamId;	// 函数变量id
    
    
    public RefFuncParam() {
		super();
	}

	public RefFuncParam(RuleManage ruleManage,String funcparamId) {
    	this.funcparamId = funcparamId;
    	this.code = ruleManage.getCode();
    	this.manageId = ruleManage.getId();
    	this.modelName = ruleManage.getName();
    	this.modelType = ruleManage.getModelType();
    	this.projectCode = ruleManage.getProjectCode();
    	this.version = ruleManage.getVersion();
    }
    
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getModelName() {
		return modelName;
	}
	public void setModelName(String modelName) {
		this.modelName = modelName;
	}
	public String getModelType() {
		return modelType;
	}
	public void setModelType(String modelType) {
		this.modelType = modelType;
	}
	public String getProjectCode() {
		return projectCode;
	}
	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getFuncparamId() {
		return funcparamId;
	}
	public void setFuncparamId(String funcparamId) {
		this.funcparamId = funcparamId;
	}
	public String getManageId() {
		return manageId;
	}
	public void setManageId(String manageId) {
		this.manageId = manageId;
	}
    
    
}
